package uml.structural.proxy.jdk;

import lombok.extern.slf4j.Slf4j;

/**
 * on 2023/1/9 23:10
 */
@Slf4j
public class ProxiedClass implements ProxiedInterface{
    @Override
    public String proxiedMethod(String s, Integer i, Float f, Double d, Character c) {
        log.debug("业务处理开始 >>>");
        if ("ss".equalsIgnoreCase(s))
            throw new IllegalArgumentException(s);
        String r=s+i+f+d+c;
        log.debug("业务处理结束 <<<" );
        return r;
    }
}
